package Command;

public class BuyStock implements Order{
    // 实体 命令类

    private Stock stock;

    @Override
    public void execute() {
        stock.buy();
    }

    public BuyStock(Stock stock){
        this.stock = stock;
    }
}
